FEXP Solver  1.0.0.0
FEXPConcurency.h File Reference
#include "FEXPCommon.h"
Include dependency graph for FEXPConcurency.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CFEXPAsyncRunner
 
class  ICFEXPConcurrencyBase
 Base interface for concurrency. More...
 
class  ICFEXPSynchrThreadBarrier
 Base interface for synchronization barrier. More...
 
class  CFEXPThreadGeneralBarrier
 It represents CPU thread autoreseting barrier. It resets its state after the all entering threads are synchronized (general C++ solution). More...
 
class  CFEXPThreadWin8PLBarrier
 It represents CPU thread barrier specific to Windows OS ver. 8 and later. More...
 
class  ICFEXPThreadBase
 Base interface for handling with threads. More...
 
class  CFEXPCancelThreadException
 
class  CFEXPCppThread< TFunc, VarArgs >
 Wrapper above C++ std::thread class. More...
 
class  CFEXPConcurencyTools
 General tools required for paralelism. More...
 

Macros

#define NANO_SEC   1.0E-9
 
#define SERVER_THREAD_BARRIER   CFEXPThreadGeneralBarrier
 
#define FEXPCOMMON_IS_WIN_BARR_SUPPORTED   (NTDDI_VERSION <= FEXPCOMMON_MY_WIN_VERSION_FOR_COMPILATION)
 

Functions

template<typename TThread >
void ThrowIfCancelRequest () noexcept(false)
 It throws an exception if cancel of process within the respective thread is required. More...
 

Macro Definition Documentation

◆ FEXPCOMMON_IS_WIN_BARR_SUPPORTED

#define FEXPCOMMON_IS_WIN_BARR_SUPPORTED   (NTDDI_VERSION <= FEXPCOMMON_MY_WIN_VERSION_FOR_COMPILATION)

◆ NANO_SEC

#define NANO_SEC   1.0E-9

◆ SERVER_THREAD_BARRIER

#define SERVER_THREAD_BARRIER   CFEXPThreadGeneralBarrier

Function Documentation

◆ ThrowIfCancelRequest()

template<typename TThread >
void ThrowIfCancelRequest ( )
noexcept

It throws an exception if cancel of process within the respective thread is required.